import request from '../utils/request'

export function getAllMess(){
    return request({
        url: '/api/mess/list',
        method: 'get'
    })
}

export function addMess(params) {
    return request({
        url: '/api/mess/add',
        method: 'post',
        data:params
    });
}